<?php
include("config.php");  
$cat_id = $_GET["cat_id"];

$sql = "SELECT * FROM `product` where `catID`=$cat_id ORDER BY `product`.`order` ASC";
$rs = &$conn->Execute($sql);
$product_List = $rs->getArray();


$tpl->assign("product_List",$product_List);
$tpl->assign("cat_id",$cat_id);

$tpl->display('products_list.html');

?>